import request from "@/api/request.js";
const baseUrl = '/state-assets-monitor';
// const baseUrl = 'http://127.0.0.1:4523/m1/3704704-0-default';

/** 业务单元上报详情 */
export const getBuReportDetail = (params) => {
    return request.get(baseUrl + '/thirdPartyInstitution/buReportDetail', { params })
}
/** 当月上报第三方服务机构合同总数 **/
export const getContractInfo = (params) => {
    return request.get(baseUrl + '/thirdPartyInstitution/contractInfo', { params })
}
/** 第三方服务机构画像 **/
export const getPortrait = (params) => {
  return request.get(baseUrl + '/thirdPartyInstitution/portrait', { params })
}
/** 历史合同分布趋势 **/
export const getHistoryContractTrend = (params) => {
  return request.get(baseUrl + '/thirdPartyInstitution/historyContractTrend', { params })
}
/** 境内外分布趋势 **/
export const getDomesticForeignTrend = (params) => {
  return request.get(baseUrl + '/thirdPartyInstitution/domesticForeignTrend', { params })
}
/** 合同签订第三方服务机构所属国家、地区分布 **/
export const getContractTrend = (params) => {
  return request.get(baseUrl + '/thirdPartyInstitution/contractTrend', { params })
}
/** 业务单元上报 **/
export const getBuReport = (params) => {
  return request.get(baseUrl + '/thirdPartyInstitution/buReport', { params })
}
/** 当月上报合同 **/
export const getContractCount = (params) => {
  return request.get(baseUrl + '/thirdPartyInstitution/contractCount', { params })
}
/** 获取机构类型 **/
export const getTypeList = (params) => {
  return request.get(baseUrl + '/thirdPartyInstitution/typeList', { params })
}
/** 数据提供频率 **/
export const getFrequency = (params) => {
  return request.get(baseUrl + '/thirdPartyInstitution/frequency', { params })
}

